package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.common.core.DataValidity;
import com.aizhixin.lab.project.template.entity.ProjectPost;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProjectPostRepository extends JpaRepository<ProjectPost,String> {
    List<ProjectPost> findByDeleteFlag(Integer deleteFlag);
    List<ProjectPost> findByPostIdAndDeleteFlag(String postId,Integer deleteFlag);
    List<ProjectPost> findByProjectIdAndDeleteFlag(String projectId,Integer deleteFlag);

}
